/* components/item-card/item-card.wxss */
.item-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20rpx;

  .card-content {
    position: relative;
    display: flex;
    width: 100%;
    transition: transform 0.2s ease;

    .content {
      width: 100%;
      // flex: 1;
      // background: #fff;
      // padding: 20rpx;
    }

    .delete-btn {
      position: absolute;
      right: -80px;
      top: 0;
      width: 80px;
      height: 100%;
      background: #ff4444;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}